package com.neuedu.service;

import com.neuedu.pojo.Employee;
import com.neuedu.pojo.PageResult;

import java.util.List;

public interface EmployeeService {
    public List<Employee> getEmpAll();
    public Integer addEmp(String account,String password,String nickname,String telephone,String role,int isDel);

    public Integer delEmp(String id);

    public Integer updateEmp(String id, String account, String password, String nickname, String telephone, String role, String isDel);

    Employee selectPart(String account, String password);

    PageResult<List<Employee>> getEmp(String currentPage, String pageSize, String account, String nickname, String telephone);


}
